package com.yunyao.framework.vo.payment;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author xingjishuai
 * @date 2024-08-12
 */
@Data
public class PaymentContractInvoiceVO implements Serializable {

    private static final long serialVersionUID = 6716634929870870618L;
    /**
     * 主键
     */
    private String id;

    /**
     * 收款ID
     */
    private String receiveId;

    /**
     * 合同ID
     */
    private String contractId;

    /**
     * 开票日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date invoiceDate;

    /**
     * 开票金额
     */
    private BigDecimal invoicePrice;

    /**
     * 发票号码
     */
    private String invoiceNo;

    /**
     * 发票代码
     */
    private String invoiceCode;

    /**
     * 收款状态
     */
    private String receiveStatus;

    /**
     * 合同预收款金额
     */
    private BigDecimal contractPrePrice;

    /**
     * 订单预收款金额
     */
    private BigDecimal orderPrePrice;

    /**
     * 本次收款金额
     */
    private BigDecimal prePrice;

    /**
     * 应收已收款
     */
    private BigDecimal receivePrice;

    /**
     * 应收未收款
     */
    private BigDecimal noReceivePrice;

    /**
     * 应付已付款
     */
    private BigDecimal paymentPrice;

    /**
     * 应付未付款
     */
    private BigDecimal noPaymentPrice;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 流程状态
     */
    private String auditStatus;

    /**
     * 流程ID
     */
    private String invoiceId;

    /**
     * 合同发票
     */
    private String invoiceFile;

    /**
     * 结算单附件
     */
    private String settlementFile;

    /**
     * 绑定的发票金额
     */
    private BigDecimal bindInvoicePrice;
    /**
     * 发票ID
     */
    private String invoiceBindId;
}
